import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '所属课程',
    align: "center",
    dataIndex: 'subject'
  },
  {
    title: '题目',
    align: "center",
    dataIndex: 'question'
  },
  {
    title: '题目分数',
    align: "center",
    dataIndex: 'score'
  },
  {
    title: '答案',
    align: "center",
    dataIndex: 'answer'
  },
  {
    title: '题目解析',
    align: "center",
    dataIndex: 'analysis'
  },
  {
    title: '选项A',
    align: "center",
    dataIndex: 'answera'
  },
  {
    title: '选项B',
    align: "center",
    dataIndex: 'answerb'
  },
  {
    title: '选项C',
    align: "center",
    dataIndex: 'answerc'
  },
  {
    title: '选项D',
    align: "center",
    dataIndex: 'answerd'
  },
];

// 高级查询数据
export const superQuerySchema = {
  subject: {title: '所属课程',order: 0,view: 'text', type: 'string',},
  question: {title: '题目',order: 1,view: 'text', type: 'string',},
  score: {title: '题目分数',order: 2,view: 'text', type: 'string',},
  answer: {title: '答案',order: 3,view: 'text', type: 'string',},
  analysis: {title: '题目解析',order: 4,view: 'text', type: 'string',},
  answera: {title: '选项A',order: 5,view: 'text', type: 'string',},
  answerb: {title: '选项B',order: 6,view: 'text', type: 'string',},
  answerc: {title: '选项C',order: 7,view: 'text', type: 'string',},
  answerd: {title: '选项D',order: 8,view: 'text', type: 'string',},
};
